<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="include/header_css::header('新增-微信类别')"></head>
<body>
	<div id="dpLTE" class="container-fluid" v-cloak>
		<table class="form" id="form">
        	<tr>
        	   <td class="formTitle">图片<font face="宋体">*</font></td>
               <td class="formValue">
                      <input  type="hidden" class="form-control" placeholder="图片" v-model="wCategory.img" isvalid="yes" checkexpession="NotNull"> 
                    <div id="preview">
                        <img id="imghead" border="0" th:src="@{/statics/img/WechatIMG12.png}" v-model="wCategory.img" width="90" height="90"  onclick="$('#previewImg').click();">
                    </div>
                    <input type="file" onchange="previewImage(this)" style="display: none;"  id="previewImg">
                </td>
			<tr>
	            <td class="formTitle">编号<font face="宋体">*</font></td>
	            <td class="formValue">
					<input type="text" class="form-control" placeholder="" v-model="wCategory.categoryId" isvalid="yes" checkexpession="NotNull">
	            </td>
        	</tr>
			<tr>
	            <td class="formTitle">类别名称<font face="宋体">*</font></td>
	            <td class="formValue">
					<input type="text" class="form-control" placeholder="类别名称" v-model="wCategory.name" isvalid="yes" checkexpession="NotNull">
	            </td>
        	</tr>
			
			<tr>
	            <td class="formTitle">价格<font face="宋体">*</font></td>
	            <td class="formValue">
					<input type="text" class="form-control" placeholder="价格" v-model="wCategory.price" isvalid="yes" checkexpession="NotNull">
	            </td>
        	</tr>
			<tr>
	            <td class="formTitle">价格区间<font face="宋体">*</font></td>
	            <td class="formValue">
					<input type="text" class="form-control" placeholder="价格区间" v-model="wCategory.priceRange" isvalid="yes" checkexpession="NotNull">
	            </td>
        	</tr>
			<tr>
	            <td class="formTitle">排序<font face="宋体">*</font></td>
	            <td class="formValue">
					<input type="text" class="form-control" placeholder="排序" v-model="wCategory.orderNum" isvalid="yes" checkexpession="NotNull">
	            </td>
        	</tr>
        	<tr>
                <td class="formTitle">可用</td>
                <td class="formValue">
                    <label class="radio-inline">
                        <input type="radio" name="status" value="1" v-model="wCategory.status"/> 正常
                    </label>
                    <label class="radio-inline">
                        <input type="radio" name="status" value="2" v-model="wCategory.status"/> 禁用
                    </label>
                </td>
            </tr>
		</table>
	</div>
    <div th:include="include/footer_js::footer"></div>
    <script th:src="@{/statics/js/base/wcategory/add.js}"></script>
</body>
</html>